# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-statmake
pkgver=0.3.0
pkgrel=0
pkgdesc="Applies STAT information from a Stylespace to a variable font"
url="https://github.com/daltonmaag/statmake"
arch="noarch"
license="MIT"
depends="python3 py3-cattrs"
makedepends="py3-setuptools"
options="!check" # fail locally
source="https://files.pythonhosted.org/packages/source/s/statmake/statmake-$pkgver.tar.gz"
builddir="$srcdir/statmake-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6ff7266b7d4ab6beb68de892d3ce72637bcaa97b96c26afe80182065b14a3083e58e8e26b1e5eb7b9d543338bbe5ca9322aedae07df9ee722fda351a9aba01c9  statmake-0.3.0.tar.gz"
